Wificheck est un script bash créé pour faciliter la récolte des informations nécessaires à la résolution d'une majorité des problèmes rencontrés avec les connexions sans-fil.
Ces informations sont celles demandées expressément sur le sujet A lire avant de poster !!! du forum.
Un fil de discussion ici vous permet d'apporter vos suggestions et contributions au script.
Le script nécessite des droits administrateur pour l'exécution de certaines commandes, votre mot de passe vous sera donc demandé.
Bonjour, voici le resultat de wifi check
cat /etc/lsb-release
DISTRIB_ID=Ubuntu DISTRIB_RELEASE=18.10 DISTRIB_CODENAME=cosmic DISTRIB_DESCRIPTION="Ubuntu 18.10"
lsusb
Bus 002 Device 003: ID 05c8:0348 Cheng Uei Precision Industry Co., Ltd (Foxlink) Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 001 Device 004: ID 12d1:151d Huawei Technologies Co., Ltd. Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
lspci -k -nn | grep -A 3 -i net
01:00.0 Network controller [0280]: Ralink corp. RT5390R 802.11bgn PCIe Wireless Network Adapter [1814:539b]
Subsystem: Hewlett-Packard Company RT5390R 802.11bgn PCIe Wireless Network Adapter [103c:18ed] Kernel driver in use: rt2800pci Kernel modules: rt2800pci
02:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5229 PCI Express Card Reader [10ec:5229] (rev 01) – 08:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL810xE PCI Express Fast Ethernet controller [10ec:8136] (rev 05)
Subsystem: Hewlett-Packard Company RTL810xE PCI Express Fast Ethernet controller [103c:1854] Kernel driver in use: r8169 Kernel modules: r8169
sudo lshw -C network
description: Interface réseau sans fil
produit: RT5390R 802.11bgn PCIe Wireless Network Adapter
fabriquant: Ralink corp.
identifiant matériel: 0
information bus: pci@0000:01:00.0
nom logique: wlo1
version: 00
numéro de série: 84:4b:f5:a9:51:28
bits: 32 bits
horloge: 33MHz
fonctionnalités: pm msi pciexpress bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=rt2800pci driverversion=4.18.0-17-generic firmware=N/A latency=0 link=no multicast=yes wireless=IEEE 802.11
ressources: irq:16 mémoire:52500000-5250ffff
*-network
description: Ethernet interface
produit: RTL810xE PCI Express Fast Ethernet controller
fabriquant: Realtek Semiconductor Co., Ltd.
identifiant matériel: 0
information bus: pci@0000:08:00.0
nom logique: eno1
version: 05
numéro de série: 78:e3:b5:7a:81:ea
taille: 10Mbit/s
capacité: 100Mbit/s
bits: 64 bits
horloge: 33MHz
fonctionnalités: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=half firmware=rtl_nic/rtl8105e-1.fw latency=0 link=no multicast=yes port=MII speed=10Mbit/s
ressources: irq:19 portE/S:2000(taille=256) mémoire:52404000-52404fff mémoire:52400000-52403fff
*-network
description: Ethernet interface
identifiant matériel: 3
nom logique: wwx582c80139263
numéro de série: 58:2c:80:13:92:63
fonctionnalités: ethernet physical
configuration: broadcast=yes driver=huawei_cdc_ncm driverversion=22-Aug-2005 firmware=Huawei CDC NCM device ip=10.121.169.191 link=yes multicast=yes
lsmod | sort
ahci 40960 3 arc4 16384 2 autofs4 40960 2 cdc_ncm 36864 1 huawei_cdc_ncm cdc_wdm 20480 1 huawei_cdc_ncm cfg80211 663552 2 rt2x00lib,mac80211 coretemp 16384 0 crc32_pclmul 16384 0 crct10dif_pclmul 16384 0 cryptd 24576 1 ghash_clmulni_intel drm 458752 5 drm_kms_helper,i915 drm_kms_helper 172032 1 i915 eeprom_93cx6 16384 1 rt2800pci fb_sys_fops 16384 1 drm_kms_helper ghash_clmulni_intel 16384 0 gpio_ich 16384 0 hp_wmi 16384 0 huawei_cdc_ncm 16384 0 i2c_algo_bit 16384 1 i915 i915 1740800 14 input_leds 16384 0 intel_cstate 20480 0 intel_powerclamp 16384 0 intel_rapl 20480 0 intel_rapl_perf 16384 0 ip_tables 24576 0 irqbypass 16384 1 kvm joydev 20480 0 kvm 622592 1 kvm_intel kvm_intel 208896 0 libahci 32768 1 ahci lp 20480 0 lpc_ich 24576 0 mac80211 794624 3 rt2x00pci,rt2x00lib,rt2800lib mac_hid 16384 0 media 40960 2 videodev,uvcvideo mei 98304 1 mei_me mei_me 40960 0 memstick 16384 1 rtsx_pci_ms mii 16384 2 r8169,usbnet Module Size Used by nls_iso8859_1 16384 1 option 53248 1 parport 49152 3 parport_pc,lp,ppdev parport_pc 36864 0 ppdev 20480 0 psmouse 151552 0 r8169 86016 0 rt2800lib 114688 2 rt2800mmio,rt2800pci rt2800mmio 20480 1 rt2800pci rt2800pci 16384 0 rt2x00lib 53248 5 rt2x00mmio,rt2x00pci,rt2800mmio,rt2800pci,rt2800lib rt2x00mmio 16384 2 rt2800mmio,rt2800pci rt2x00pci 16384 1 rt2800pci rtsx_pci 65536 2 rtsx_pci_sdmmc,rtsx_pci_ms rtsx_pci_ms 20480 0 rtsx_pci_sdmmc 24576 0 sch_fq_codel 20480 3 serio_raw 16384 0 snd 81920 20 snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_pcm,snd_rawmidi snd_hda_codec 126976 4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek snd_hda_codec_generic 73728 1 snd_hda_codec_realtek snd_hda_codec_hdmi 49152 1 snd_hda_codec_realtek 106496 1 snd_hda_core 81920 5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek snd_hda_intel 40960 5 snd_hwdep 20480 1 snd_hda_codec snd_pcm 98304 5 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_core snd_rawmidi 32768 1 snd_seq_midi snd_seq 65536 2 snd_seq_midi,snd_seq_midi_event snd_seq_device 16384 3 snd_seq,snd_seq_midi,snd_rawmidi snd_seq_midi 16384 0 snd_seq_midi_event 16384 1 snd_seq_midi snd_timer 32768 2 snd_seq,snd_pcm soundcore 16384 1 snd sparse_keymap 16384 1 hp_wmi syscopyarea 16384 1 drm_kms_helper sysfillrect 16384 1 drm_kms_helper sysimgblt 16384 1 drm_kms_helper uas 24576 0 usbnet 45056 2 cdc_ncm,huawei_cdc_ncm usbserial 45056 4 usb_wwan,option usb_storage 69632 1 uas usb_wwan 20480 1 option uvcvideo 98304 0 video 45056 1 i915 videobuf2_common 45056 2 videobuf2_v4l2,uvcvideo videobuf2_memops 16384 1 videobuf2_vmalloc videobuf2_v4l2 24576 1 uvcvideo videobuf2_vmalloc 16384 1 uvcvideo videodev 188416 3 videobuf2_v4l2,uvcvideo,videobuf2_common wmi 24576 2 hp_wmi,wmi_bmof wmi_bmof 16384 0 x86_pkg_temp_thermal 16384 0 x_tables 40960 1 ip_tables [/code] [code]
iwconfig
wlo1 IEEE 802.11 ESSID:off/any
Mode:Managed Access Point: Not-Associated Tx-Power=off
Retry short long limit:2 RTS thr:off Fragment thr:off
Power Management:off
ifconfig -a
eno1: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether 78:e3:b5:7a:81:ea txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Boucle locale)
RX packets 796 bytes 76605 (76.6 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 796 bytes 76605 (76.6 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
wlo1: flags=4098<BROADCAST,MULTICAST> mtu 1500
ether 84:4b:f5:a9:51:28 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
wwx582c80139263: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 10.121.169.191 netmask 255.255.255.128 broadcast 10.121.169.255
ether 58:2c:80:13:92:63 txqueuelen 1000 (Ethernet)
RX packets 6011 bytes 4203164 (4.2 MB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 5603 bytes 659889 (659.8 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
sudo iwlist scan
uname -r -m
4.18.0-17-generic x86_64
cat /etc/network/interfaces
# interfaces(5) file used by ifup(8) and ifdown(8) auto lo iface lo inet loopback
nm-tool
nmcli dev wifi
IN-USE SSID MODE CHAN RATE SIGNAL BARS SECURITY
nmcli connection list (< 15.04) ou nmcli connection show (>= 15.04)
NAME UUID TYPE DEVICE Orange connection 953239f5-5b8a-4368-9562-872e92c0071d gsm ttyUSB2 Connexion filaire 1 4eb7d71f-cc41-3933-99ee-620c634d6338 ethernet –
nmcli connection status
sudo rfkill list
0: phy0: Wireless LAN
Soft blocked: no Hard blocked: yes
merci.
Pour désinstaller le script il suffit de supprimer le fichier wificheck.
Contributeurs: fabux, cracolinux